package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (Codrule)实体类
 *
 * @author makejava
 * @since 2020-10-26 20:20:35
 */
@ApiModel(value = "编码规则设置类")
public class Codrule implements Serializable {
    private static final long serialVersionUID = -37445110071465382L;
    /**
     * 编码规则id
     */
    @ApiModelProperty(name = "codruleId",notes = "编码规则主键",value = "编码规则主键")
    private Integer codruleId;
    /**
     * 编码名称
     */
    @ApiModelProperty(name = "codruleName",notes = "编码规则名称",value = "编码规则名称")
    private String codruleName;
    /**
     * 编码前缀
     */
    @ApiModelProperty(name = "codrulePre",notes = "编码规则前缀",value = "编码规则前缀")
    private String codrulePre;
    /**
     * 流水号位数
     */
    @ApiModelProperty(name = "serialNum",notes = "流水号位数",value = "流水号位数")
    private String serialNum;
    /**
     * 中间是否加入日期
     */
    @ApiModelProperty(name = "date",notes = "中间是否加入日期",value = "中间是否加入日期")
    private Integer dates;
    /**
     * 中间是否加入时间
     */
    @ApiModelProperty(name = "time",notes = "中间是否加入时间",value = "中间是否加入时间")
    private Integer times;
    /**
     * 流水号起始位数
     */
    @ApiModelProperty(name = "serialSta",notes = "流水号起始位数",value = "流水号起始位数")
    private String serialSta;
    /**
     * 备注
     */
    @ApiModelProperty(name = "notes",notes = "备注",value = "备注")
    private String notes;
    /**
     * 示例
     * @return
     */
    @ApiModelProperty(name = "codruleExample",notes = "示例",value = "示例")
    private String codruleExample;

    public Integer getCodruleId() {
        return codruleId;
    }

    public void setCodruleId(Integer codruleId) {
        this.codruleId = codruleId;
    }

    public String getCodruleName() {
        return codruleName;
    }

    public void setCodruleName(String codruleName) {
        this.codruleName = codruleName;
    }

    public String getCodrulePre() {
        return codrulePre;
    }

    public void setCodrulePre(String codrulePre) {
        this.codrulePre = codrulePre;
    }

    public String getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(String serialNum) {
        this.serialNum = serialNum;
    }

    public Integer getDates() {
        return dates;
    }

    public void setDates(Integer dates) {
        this.dates = dates;
    }

    public String getCodruleExample() {
        return codruleExample;
    }

    public void setCodruleExample(String codruleExample) {
        this.codruleExample = codruleExample;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public String getSerialSta() {
        return serialSta;
    }

    public void setSerialSta(String serialSta) {
        this.serialSta = serialSta;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }


    @Override
    public String toString() {
        return "Codrule{" +
                "codruleId=" + codruleId +
                ", codruleName='" + codruleName + '\'' +
                ", codrulePre='" + codrulePre + '\'' +
                ", serialNum='" + serialNum + '\'' +
                ", dates=" + dates +
                ", times=" + times +
                ", serialSta='" + serialSta + '\'' +
                ", notes='" + notes + '\'' +
                '}';
    }
}